package com.ruoyi.bysj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评价对象 sys_evaluation
 * 
 * @author laow
 * @date 2021-10-27
 */
public class SysEvaluation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价编号 */
    private Long evaluationId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private Long orderId;

    @Excel(name = "组号")
    private Long groupId;

    /** 评分 */
    @Excel(name = "评分")
    private String evaluationScore;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String evaluationContent;

    /** 评价人 */
    @Excel(name = "评价人")
    private String evaluationName;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluationTime;

    public void setEvaluationId(Long evaluationId) 
    {
        this.evaluationId = evaluationId;
    }

    public Long getEvaluationId() 
    {
        return evaluationId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setEvaluationScore(String evaluationScore) 
    {
        this.evaluationScore = evaluationScore;
    }

    public String getEvaluationScore() 
    {
        return evaluationScore;
    }
    public void setEvaluationContent(String evaluationContent) 
    {
        this.evaluationContent = evaluationContent;
    }

    public String getEvaluationContent() 
    {
        return evaluationContent;
    }
    public void setEvaluationName(String evaluationName) 
    {
        this.evaluationName = evaluationName;
    }

    public String getEvaluationName() 
    {
        return evaluationName;
    }
    public void setEvaluationTime(Date evaluationTime) 
    {
        this.evaluationTime = evaluationTime;
    }

    public Date getEvaluationTime() 
    {
        return evaluationTime;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("evaluationId", getEvaluationId())
            .append("orderId", getOrderId())
            .append("groupId", getGroupId())
            .append("evaluationScore", getEvaluationScore())
            .append("evaluationContent", getEvaluationContent())
            .append("evaluationName", getEvaluationName())
            .append("evaluationTime", getEvaluationTime())
            .toString();
    }
}
